package com.xf.toy.dao;

import com.xf.toy.bean.Toyorder;
import com.xf.toy.bean.ToyorderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ToyorderMapper {
    int countByExample(ToyorderExample example);

    int deleteByExample(ToyorderExample example);

    int deleteByPrimaryKey(Long orderId);

    int insert(Toyorder record);

    int insertSelective(Toyorder record);

    List<Toyorder> selectByExample(ToyorderExample example);

    Toyorder selectByPrimaryKey(Long orderId);

    int updateByExampleSelective(@Param("record") Toyorder record, @Param("example") ToyorderExample example);

    int updateByExample(@Param("record") Toyorder record, @Param("example") ToyorderExample example);

    int updateByPrimaryKeySelective(Toyorder record);

    int updateByPrimaryKey(Toyorder record);
}